<template>
  <div :class="isBig?'summarize-wrapper1':'summarize-wrapper'">
    <span class="show-text">结论：</span>
    <div class="summarize">
      {{showSummarizeText}}
      <!--<el-scrollbar style="width:100%;height:100%;">{{showSummarizeText}}</el-scrollbar>-->
    </div>
  </div>
</template>

<script type="text/ecmascript-6">
  export default {
    props: {
      showSummarizeText: {
        type: String,
        default() {
          return ''
        }
      },
      isBig: {
        type: String,
        default() {
          return ''
        }
      }
    }
  };
</script>

<style>
  .summarize-wrapper {
    position: absolute;
    bottom: 2%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 13.5%;
    font-size: 12px;
    line-height: 18px;
    display: flex;
    box-sizing:border-box;
  }
  .summarize-wrapper1 {
    position: absolute;
    bottom: 2%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 9%;
    font-size: 12px;
    line-height: 18px;
    display: flex;
    box-sizing:border-box;
  }
  .show-text {
    display: inline-block;
    height: 20px;
    line-height: 40px;
  }

  .summarize {
    display: inline-block;
    box-sizing: border-box;
    border-radius: 10px;
    border: solid 1px #2E3E55;
    height: 100%;
    flex: 1;
    padding:2px 10px;
    /*padding-right:0;*/
    line-height: 18px;
    overflow:hidden;
    /*white-space: nowrap;*/
    /*text-overflow:ellipsis;*/
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }
  .el-scrollbar__wrap{
    /*width:100%;*/
  }

</style>
